package com.xingkeduo.dao;

import com.xingkeduo.model.example.TMarketingCardExample;
import com.xingkeduo.model.po.TMarketingCard;
import com.xingkeduo.model.po.TMarketingCardWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMarketingCardMapper {
    int countByExample(TMarketingCardExample example);

    int deleteByExample(TMarketingCardExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingCardWithBLOBs record);

    int insertSelective(TMarketingCardWithBLOBs record);

    List<TMarketingCardWithBLOBs> selectByExampleWithBLOBs(TMarketingCardExample example);

    List<TMarketingCard> selectByExample(TMarketingCardExample example);

    TMarketingCardWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingCardWithBLOBs record, @Param("example") TMarketingCardExample example);

    int updateByExampleWithBLOBs(@Param("record") TMarketingCardWithBLOBs record, @Param("example") TMarketingCardExample example);

    int updateByExample(@Param("record") TMarketingCard record, @Param("example") TMarketingCardExample example);

    int updateByPrimaryKeySelective(TMarketingCardWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TMarketingCardWithBLOBs record);

    int updateByPrimaryKey(TMarketingCard record);
}